home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-21 / qwhite.zip / WINFLOW.TEC < prev    next >
Text File  |  1992-04-06  |  39KB  |  878 lines

  1. ID:WA Windows 3.0 and QEMM-386 Advanced Troubleshooting
  2. Quarterdeck Technical Note # 207 
  3. by David Riess
  4.  
  5.  
  6.      QEMM-386 version 5.11 and above supports Windows 3.0 in all of its 
  7. processing modes: Real, Standard, and 386 Enhanced.
  8.  
  9.      This Quarterdeck Technical Note has been written to help you troubleshoot 
  10. and fix almost all Windows 3.0 problems which relate to the use of QEMM.  We 
  11. have included an example scenario for you to follow in order to make this 
  12. process as "user friendly" as possible.
  13.  
  14.      This procedure will take at least two steps to complete.  You will have 
  15. to skip ahead to different parts of this technote depending on the results of 
  16. previous steps, so PLEASE FOLLOW ALL INSTRUCTIONS CAREFULLY. Steps A,B,C,D and 
  17. E are located at the end of this technote.
  18.  
  19.      The Quarterdeck Technical Support Staff handles many Windows 3.0 calls 
  20. every day, ranging from the simple (e.g., "When I try to load Windows from my 
  21. local drive, I get the Windows graphics logo but nothing else happens and it 
  22. takes me back to the C prompt") to the difficult (e.g., "I'm running Windows 
  23. from the network and I load up my spreadsheet program, then I load up my 
  24. database program.  If I print from the spreadsheet program, then switch to my 
  25. database program the system crashes.  This happens randomly, usually once 
  26. every 3 days."). This technical note follows the identical procedures which 
  27. our technical support staff uses to troubleshoot Windows 3.0 with QEMM-386.
  28.  
  29.    ------------------------------------------------------------------------
  30.    EXAMPLE Windows 3.0 PROBLEM SCENARIO : "I've installed QEMM-386 and have
  31.    run the OPTIMIZE program to load my TSR's and device drivers into high
  32.    memory.  I'm running Windows from my network drive (drive F:).  I get
  33.    into Windows without a problem, except when I load my scanner program I
  34.    get an 'UAE: Unrecoverable Application Error' error message and my
  35.    system crashes".
  36.  
  37.    SCENARIO ASSUMPTIONS: QEMM has been loaded onto the local C: drive and
  38.    QEMM is installed in the C:\QEMM subdirectory.  Windows 3.0 has been
  39.    installed on the NETWORK drive in the F:\WINDOWS subdirectory.
  40.  
  41.    INSTRUCTIONS: In each of the following steps you will either edit a file
  42.    or run a program from the DOS prompt.  Whenever you see a number
  43.    followed by a right parenthesis ), perform the action which follows.
  44.    Comments regarding the action will be followed in brackets [].  Look for
  45.    the ??? at the end of each step, because a question will need to be
  46.    answered to determine the next STEP to perform.
  47.  
  48.  
  49.                                    (STEP 1)
  50.  
  51.                        DETERMINING YOUR QEMM-386 VERSION
  52.                        ---------------------------------
  53.  
  54.      Older QEMM versions can cause Windows 3.0 problems.  We have modified 
  55. QEMM in recent versions to accommodate Windows 3.0 features.  This step 
  56. determines which QEMM version you have, and will direct you to the 
  57. troubleshooting technique needed for solving your Windows 3.0 problem based on 
  58. your QEMM version.  Enter the following 3 commands at the DOS prompt:
  59.  
  60.    1)  C:          [go to the QEMM disk-drive           ]
  61.    2)  CD\QEMM     [go to the QEMM subdirectory         ]
  62.    3)  QEMMREG     [Determine what QEMM version you have]
  63.  
  64.        Here's an EXAMPLE of what you should see on your screen:
  65.  
  66.        Quarterdeck Expanded Memory Manager 386 V5.13    <----------|
  67.        Copyright (c) 1986-1991 by Quarterdeck Office Systems       |
  68.        Serial number: 000-B6-0000-000000                           |
  69.        Registered to: Power User                                   |
  70.        ABC COMPUTER USERS                                          |
  71.        Anywhere, CA  USA                                           |
  72.                                                                    |
  73.    ??? What version of QEMM is installed on your machine: ---------|
  74.         4.00 - 5.10
  75.         ---------------
  76.         any Windows 3.0 processing mode       : go to STEP A.
  77.  
  78.         5.11
  79.         ---------------
  80.         Windows 3.0 - Real     mode problem   : go to STEP 5.
  81.         Windows 3.0 - Standard mode problem   : go to STEP 2.
  82.         Windows 3.0 - Enhanced mode problem   : go to STEP 4.
  83.  
  84.         5.12 or 5.13
  85.         ---------------
  86.         Windows 3.0 - Real     mode problem   : go to STEP 5.
  87.         Windows 3.0 - Standard mode problem   : go to STEP 5.
  88.         Windows 3.0 - Enhanced mode problem   : go to STEP 4.
  89.  
  90.         6.00 or greater
  91.         ---------------
  92.         any Windows 3.0 processing mode       : go to STEP 3.
  93.  
  94.    ***
  95.    If QEMMREG returns "Bad command or file name", then either you have a
  96.    very old version of QEMM-386 (in which you should go to STEP A) or you
  97.    have erased the file QEMMREG.COM from your QEMM directory (in which case
  98.    you should re-install QEMM-386 on your hard disk and perform STEP 1
  99.    again)
  100.    ***
  101.  
  102.  
  103.                                    (STEP 2)
  104.  
  105.                        DETERMINING YOUR WINDOWS VERSION
  106.                        --------------------------------
  107.  
  108.      You are having problems with Windows 3.0 - Standard mode while using QEMM 
  109. version 5.11.  There are currently 2 versions of Windows 3.0 (version 3.0 and 
  110. 3.0a).  This step determines which Windows 3.0 version you have.  To determine 
  111. if a QEMM upgrade is needed, perform the following 3 commands at the DOS 
  112. prompt:
  113.  
  114.    1) F:             [go to the Windows 3.0 drive                         ]
  115.    1) CD\WINDOWS     [go to the Windows 3.0 subdirectory                  ]
  116.    2) DIR WIN*.EXE   [get a directory of all .EXE files beginning with WIN]
  117.  
  118.       There should be 3 or 4 files listed.  Here's an EXAMPLE of what you
  119.       should see on your screen:
  120.  
  121.       F:\WINDOWS>DIR WIN*.EXE
  122.  
  123.         Volume in drive F has no label
  124.         Directory of  F:\WINDOWS
  125.  
  126.        WINFILE  EXE   106288   5-01-90   3:00a
  127.        WINHELP  EXE   193552   5-01-90   3:00a
  128.        WINVER   EXE     8704   5-01-90   3:00a
  129.            3 File(s)   6795264 bytes free
  130.  
  131.        These files will have the same creation date (in this case 5-01-90).
  132.  
  133.    ??? If the Windows 3.0 files creation date is 5-01-90, go to STEP 5.
  134.  
  135.    ??? If the Windows 3.0 files creation is later than  5-01-90,
  136.        go to STEP B.
  137.  
  138.                                    (STEP 3)
  139.  
  140.         DETERMINING WHETHER STEALTH IS CAUSING A CONFLICT WITH WINDOWS
  141.         --------------------------------------------------------------
  142.  
  143.      You have QEMM version 6.00 or greater.  Quarterdeck has added the STEALTH 
  144. feature into your version of QEMM in order to create up to 83K more of HIGH-
  145. Ram than versions before 6.00!  The STealth feature is invoked with the 
  146. parameter ST:M or ST:F on the "DEVICE=C:\QEMM\QEMM386.SYS ..." line of your 
  147. CONFIG.SYS file (located in the root directory of your bootup drive).
  148.  
  149.      Your Windows problem may be related to the STealth feature of QEMM, 
  150. provided you have invoked STealth.  We will check your CONFIG.SYS file for the 
  151. ST:x parameter to determine the next troubleshooting STEP for you to take.
  152.  
  153.      With a file editor or file viewer, go to the C:\ directory (root 
  154. directory of your bootup drive) and load the CONFIG.SYS file.  Search the 
  155. DEVICE=C:\QEMM\QEMM386.SYS line for either ST:M or ST:F.
  156.  
  157.    ??? If the QEMM386.SYS line DOES NOT have a ST:M or ST:F parameter (not
  158.        using the STealth feature) and you are having problems in Windows
  159.        3.0 - Real or Standard mode, then go to STEP 5.
  160.  
  161.    ??? If the QEMM386.SYS line DOES NOT have a ST:M or ST:F parameter (not
  162.        using the STealth feature) and you are having problems in Windows
  163.        3.0 - Enhanced mode, then go to STEP 4.
  164.  
  165.    ??? If the QEMM386.SYS line DOES have a ST:M or ST:F parameter (you are
  166.        using the STealth feature), then proceed below...:
  167.  
  168.  
  169.    We want to remove all STealth-related parameters (ST:M, ST:F, XST=,
  170.    XSTI=, DBF=, FSTC, FRAME=) to test whether STealth is involved with your
  171.    Windows 3.0 problem.  Here's an example of removing these parameters:
  172.  
  173.    DEVICE=C:\QEMM\QEMM386.SYS R:1 RAM ROM X=D000-D3FF ST:M XSTI=10
  174.                                                       <--delete-->
  175.    DEVICE=C:\QEMM\QEMM386.SYS R:1 RAM ROM X=D000-D3FF
  176.  
  177.  
  178.    Edit your CONFIG.SYS file & remove the STealth-related parameters, then
  179.    re-boot your computer and try to re-create the problem in Windows 3.0.
  180.  
  181.    ??? If the problem still exists and your QEMM version is 6.00 only,
  182.        please go to STEP C.
  183.  
  184.    ??? If the problem still exists and your QEMM version is 6.01 or greater
  185.        and you are having problems in Windows 3.0 - Enhanced mode, then go
  186.        to STEP 4.
  187.  
  188.    ??? If the problem still exists and your QEMM version is 6.01 or greater
  189.        and you are having problems in Windows 3.0 - Real or Standard mode,
  190.        then go to STEP 5.
  191.  
  192.    ??? If the problem goes away, then your Windows 3.0 problem is due to a
  193.        conflict with QEMM's STealth feature.  NOW, the next step for YOU is
  194.        to leave this technical note and get the technote STEALTH.TEC to
  195.        resolve the STealth conflict.  You no longer need this technote!
  196.  
  197.    The STEALTH.TEC technical note is available:
  198.  
  199.    1) On Compuserve [GO PCVENB, Library 1].  Download STEALT.ZIP.
  200.    2) On Genie [IBM PC Roundtable Software Library 9].  Download
  201.       STEALTH.TXT.
  202.    3) On the Quarterdeck BBS [310-314-3227].  Download STEALTH.TEC.
  203.    4) On the Quarterdeck Q/FAX [310-314-3214].  Download FAX# 205 (Q/FAX
  204.       will automatically fax this back to your fax machine instantly!).
  205.    5) Call Quarterdeck Technical Support [310-392-9701] and we will
  206.       gladly fax/mail it to you.
  207.  
  208.  
  209.                                    (STEP 4)
  210.  
  211.                 CONFIGURE WINDOWS TO AVOID CONFLICTS WITH QEMM
  212.                 ----------------------------------------------
  213.  
  214.      You are having problems with Windows 3.0 - Enhanced mode and you have a 
  215. QEMM version greater than 6.01!  Windows 3.0 has several configuration files 
  216. which it loads at startup.  We can modify one of these startup files, 
  217. SYSTEM.INI, to instruct Windows not to conflict with QEMM.
  218.  
  219.      The SYSTEM.INI file is at least 60 lines long and is broken up into 
  220. sections by brackets [  ].  Add OR modify the following two parameters to the 
  221. [386Enh] section of the SYSTEM.INI file (located in the WINDOWS directory):
  222.  
  223.    EMMEXCLUDE=A000-FFFF           \______________________
  224.    SystemROMBreakPoint=False      /                      |
  225.                                                          |
  226.    The following is an EXAMPLE listing of SYSTEM.INI:    |
  227.                                                          |
  228.            .                                             |
  229.            .                                             |
  230.            .                                             |
  231.    mouse.drv=Logitech serial mouse                       |
  232.    display.drv=VGA                                       |
  233.    system.drv=MS-DOS or PC-DOS System                    |
  234.    [386Enh]            <---------------------------------|
  235.    systemrombreakpoint=false
  236.    ebios=*ebios
  237.    display=*vddvga
  238.            .
  239.            .
  240.            .
  241.  
  242.    Save the SYSTEM.INI file.
  243.    Now run Windows 3.0 - Enhanced mode and try to re-create the problem.
  244.  
  245.    ??? If the problem still exists, go to STEP 5.
  246.    ??? If the problem goes away, it has been solved.  HAVE A GREAT DAY!!!!!
  247.  
  248.  
  249.                                    (STEP 5)
  250.  
  251.                       CREATE A CLEAN ENVIRONMENT FOR QEMM
  252.                       -----------------------------------
  253.      To determine whether the Windows 3.0 problem is related to QEMM, you have 
  254. to remove all unnecessary lines from the CONFIG.SYS and AUTOEXEC.BAT files 
  255. (pertinent to the problem at hand) and then run Windows to see if the problem 
  256. still exists.  First, you need to make back-up copies of your CONFIG.SYS and 
  257. AUTOEXEC.BAT files (which are located in the root directory) because we are 
  258. going to modify these files.  To make the back-up copies of these files 
  259. perform the following 4 commands at the DOS prompt:
  260.  
  261.    1) C:
  262.    2) CD\
  263.    3) COPY CONFIG.SYS CONFIG.OLD
  264.    4) COPY AUTOEXEC.BAT AUTOEXEC.OLD
  265.  
  266.    Now, edit your CONFIG.SYS file so that only the lines that are
  267.    ABSOLUTELY necessary to re-create the Windows problem remain in the
  268.    CONFIG.SYS file.  You need the QEMM386.SYS line and the FILES= line as a
  269.    minimum, delete every other line unless it is ABSOLUTELY needed to re-
  270.    create the problem.
  271.  
  272.    The following is an example CONFIG.SYS file for our example:
  273.  
  274.    #1   DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  275.     2   DEVICE=C:\UTIL\CACHE.SYS
  276.    #3   FILES=25
  277.     4   BUFFERS=30
  278.    #5   DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  279.     6   DEVICE=C:\DOS\ANSI.SYS
  280.     7   DEVICE=C:\FAXING\FAX.SYS
  281.    #8   SHELL=C:\COMMAND.COM /P /E:768
  282.    #9   DEVICE=C:\QEMM\LOADHI.SYS /R:3 C:\NETW\NETWORK.SYS
  283.     10  STACKS=0,0
  284.  
  285.    The # indicates lines which are ABSOLUTELY necessary to include in the
  286.    CONFIG.SYS file in order to re-create the problem.  Let's take a look at
  287.    why (you may want to look at the Windows 3.0 example problem scenario
  288.    located on the first page of this Technote, again!):
  289.  
  290.    line  1) We NEED the QEMM driver to re-create the problem
  291.    line  2) A disk cache IS NOT necessary to re-create the problem
  292.    line  3) we NEED to include the FILES= statement
  293.    line  4) the BUFFERS statement IS NOT needed
  294.    line  5) the scanner IS part of our problem
  295.    line  6) ANSI.SYS IS NOT needed to re-create the problem
  296.    line  7) the fax board has NOTHING to do with the problem
  297.    line  8) the SHELL= statement tells DOS where the command processor is
  298.    line  9) we NEED to log on to the network to run Windows
  299.    line 10) the Stacks statement IS NOT necessary
  300.  
  301.    (if you are not sure if a line is absolutely necessary in YOUR
  302.    CONFIG.SYS or AUTOEXEC.BAT files, you might try deleting it!)
  303.  
  304.    This leaves our CONFIG.SYS with
  305.        DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  306.        FILES=25
  307.        DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  308.        SHELL=C:\COMMAND.COM /P /E:768
  309.        DEVICE=C:\QEMM\LOADHI.SYS /R:3 C:\NETW\NETWORK.SYS
  310.  
  311.    Now, since the OPTIMIZE program was executed, some of the device drivers
  312.    have been loaded high and we have to make sure these drivers are loaded
  313.    low.  This is because some device drivers behave incorrectly when loaded
  314.    high.  All we have to do is remove the LOADHI.SYS (and the  /R:x
  315.    parameter if used) from these lines.
  316.  
  317.        DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\SCAN\SCANNER.SYS 256
  318.               <------delete--------->
  319.        DEVICE=C:\SCAN\SCANNER.SYS 256
  320.  
  321.  
  322.    This leaves our CONFIG.SYS with
  323.        DEVICE=C:\QEMM\QEMM386.SYS RAM AROM=C800-CBFF
  324.        FILES=25
  325.        DEVICE=C:\SCAN\SCANNER.SYS 256
  326.        SHELL=C:\COMMAND.COM /P /E:768
  327.        DEVICE=C:\NETW\NETWORK.SYS
  328.  
  329.    Modify the QEMM line to look EXACTLY as follows:
  330.    DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  331.  
  332.    DO NOT add the 'RAM' parameter to this line!
  333.  
  334.    ??? If you have a version of QEMM greater than 6.00 and are using the
  335.        STealth parameter (ST:M or ST:F), please DO NOT include this
  336.        parameter at this time.  BUT make a mental note of it, as you will
  337.        add this parameter back to the QEMM386.SYS line in STEP 10.
  338.        ALSO, you will want to remove any STealth-related parameters at this
  339.        time (you may not have any of these) : XST= , XSTI=, DBF=, FSTC,
  340.        FRAME=.
  341.  
  342.  
  343.    If your QEMM386.SYS line previously contained a parameter to EXCLUDE an
  344.    area of memory such as EXCLUDE= or X= or AROM= or ARAM=, then you should
  345.    also add this parameter to the end of the QEMM386.SYS line.  DO NOT add
  346.    any INCLUDE= or I= parameters, if you previously had any!  In our
  347.    example, we previously had the AROM=C800-CBFF parameter.  Adding this
  348.    parameter to the above DEVICE line will look like:
  349.  
  350.    DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  351.    AROM=C800-CBFF
  352.           ^
  353.          (Please note that the "AROM=" parameter is NOT on the next line,
  354.           but is on the same line immediately after "NOSH ".  Many editors
  355.           will allow wrap-around of the same line)
  356.  
  357.  
  358.    and boost the FILES= to at least 40
  359.  
  360.    The final CONFIG.SYS looks like:
  361.  
  362.       DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  363.    AROM=C800-CBFF
  364.       FILES=40
  365.       DEVICE=C:\SCAN\SCANNER.SYS 256
  366.       SHELL=C:\COMMAND.COM /P /E:768
  367.       DEVICE=C:\NETW\NETWORK.SYS
  368.  
  369.    (Your CONFIG.SYS may only need the QEMM386.SYS and FILES=40 line.  Don't
  370.    worry if your CONFIG.SYS isn't 5 lines long.)
  371.  
  372.  
  373.    Save the CONFIG.SYS and let's modify your AUTOEXEC.BAT file.  The only
  374.    lines which we need to keep are the PROMPT and PATH statements.
  375.  
  376.  
  377.    The following is an example AUTOEXEC.BAT file for our example:
  378.  
  379.     1   ECHO OFF
  380.    #2   PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  381.     3   C:\QEMM\LOADHI C:\UTIL\FASTKEYB
  382.    #4   PROMPT $P$G
  383.    #5   C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  384.     6   SET TEMP=F:\WINDOWS\TEMP
  385.     7   FAXSETUP 125
  386.  
  387.    The # indicates lines which are absolutely necessary to re-create the
  388.    problem.  Here's why:
  389.  
  390.    Line 1) the ECHO statement IS NOT necessary
  391.    Line 2) We NEED the PATH statement
  392.    Line 3) Keyboard accelerator IS NOT needed
  393.    Line 4) Prompt statement is for your convenience
  394.    Line 5) We NEED to access the network
  395.    Line 6) This SET statement IS NOT necessary
  396.    Line 7) The FAX board has NOTHING to do with our problem
  397.  
  398.  
  399.    This leaves our AUTOEXEC.BAT as:
  400.        PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  401.        PROMPT $P$G
  402.        C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  403.  
  404.    Now, since we have run the OPTIMIZE program, some of our device drivers
  405.    have been loaded high and we have to make sure these drivers are loaded
  406.    low.  All we have to do is remove the LOADHI from these lines.
  407.  
  408.        C:\QEMM\LOADHI /R:1 C:\NETW\LOGIN
  409.        <----delete------->
  410.  
  411.        C:\NETW\LOGIN
  412.  
  413.    This leaves our final AUTOEXEC.BAT with:
  414.  
  415.        PATH C:\;C:\DOS;C:\UTILS;C:\EDITOR;F:\WINDOWS;
  416.        PROMPT $P$G
  417.        C:\NETW\LOGIN
  418.  
  419.    (Your AUTOEXEC.BAT may only need the PATH and PROMPT lines.  Don't worry
  420.    that your AUTOEXEC.BAT isn't 3 or more lines long)
  421.  
  422.  
  423.    Save the AUTOEXEC.BAT file.
  424.  
  425.    Now reboot your machine and try to re-create the problem in Windows.
  426.  
  427.    ??? If the problem still exists, go to STEP 6.
  428.    ??? If the problem goes away, go to STEP 8.
  429.  
  430.  
  431.                                    (STEP 6)
  432.  
  433.                  USE THE MICROSOFT DRIVERS INSTEAD OF QEMM-386
  434.                  ---------------------------------------------
  435.  
  436.    Since the problem still exists using a clean environment for QEMM, then we 
  437. have to determine whether the problem is caused by QEMM or is caused by 
  438. Windows 3.0.  We will now modify your CONFIG.SYS to use the Microsoft drivers 
  439. instead of QEMM and try to re-create the problem.  First, make a back-up copy 
  440. of the "clean environment" version of CONFIG.SYS file by entering the 
  441. following 3 commands at the DOS prompt:
  442.  
  443.    1) C:
  444.    2) CD\
  445.    3) COPY CONFIG.SYS CONFIG.Q
  446.  
  447.    We will attempt to re-create the problem by using the Microsoft drivers,
  448.    HIMEM.SYS and EMM386.SYS (EMM386.EXE if you are using DOS 5.0), which
  449.    when loaded together are similar to the Extended and Expanded memory
  450.    features of QEMM.
  451.  
  452.    First, you must find where these files are located on your hard-disk
  453.    (They are most likely found in the C:\WINDOWS, C:\DOS, C:\ directories).
  454.    Now, edit the CONFIG.SYS and replace these two drivers for the
  455.    QEMM386.SYS driver (ASSUME that HIMEM.SYS is in the root directory and
  456.    EMM386.SYS is in the DOS directory)
  457.  
  458.       DEVICE=C:\HIMEM.SYS
  459.       DEVICE=C:\DOS\EMM386.SYS ON 4096
  460.       FILES=40
  461.       DEVICE=C:\SCAN\SCANNER.SYS 256
  462.       SHELL=C:\COMMAND.COM /P /E:768
  463.       DEVICE=C:\NETW\NETWORK.SYS
  464.  
  465.    Save CONFIG.SYS, reboot, and try to re-create the problem in Windows.
  466.  
  467.    ??? If the problem still exists, then we have determined that QEMM is
  468.        not responsible for the problems you are having in Windows 3.0.  The
  469.        next STEP would be for you to consult your Windows documentation or
  470.        contact Microsoft Windows Technical Support at (206) 637-7098 or
  471.        contact the makers of the resident program or driver which is giving
  472.        you problems in Windows.
  473.  
  474.    ??? If the problem goes away, go to STEP 7.
  475.  
  476.  
  477.                                    (STEP 7)
  478.                                    --------
  479.  
  480.              CONFIGURE QEMM-386 SIMILARLY TO THE MICROSOFT DRIVERS
  481.              -----------------------------------------------------
  482.  
  483.      We want to find out what Microsoft's drivers are doing to make Windows 
  484. work properly so that we can configure QEMM to emulate the Microsoft drivers.  
  485. We must use the MANIFEST program to view what the Microsoft drivers are doing.
  486.  
  487.    1) Exit Windows 3.0 or Reboot your computer to get to the DOS prompt
  488.    2) C:\QEMM\MFT.EXE    [type this at the DOS prompt to start MANIFEST]
  489.  
  490.       The following is an EXAMPLE of the first screen in MANIFEST:
  491.  
  492.       Quarterdeck
  493.         MANIFEST     |  Overview   CONFIG   AUTOEXEC   Adapters   CMOS
  494.                      |
  495.                      |               Processor         80386
  496.        First Meg     |               Video Adapter     VGA
  497.                      |               BIOS              Phoenix
  498.        Expanded      |               BIOS Date         01/15/88
  499.                      |               Coprocessor       None
  500.        Extended      |               Keyboard          Enhanced
  501.                      |               Parallel Ports    2
  502.          DOS         |               Serial Ports      2
  503.                      |
  504.         Hints        |
  505.                      |
  506.          Exit        |                             Total       Available
  507.                      |       Conventional Memory    640K         520K
  508.                      |       Expanded Memory       4000K        1520K
  509.                      |       Extended Memory       4096K           0K
  510.                      |
  511.    F1=Help F2=Print  |
  512.  
  513.  
  514.    Hit the down-arrow key once (this will give you the First Meg/Overview
  515.    screen).  The box in the center of the screen will look as follows:
  516.  
  517.    You will see a screen similar to this:
  518.  
  519.     Memory Area   Size   Description
  520.     0000 - 003F     1K   Interrupt Area
  521.     0040 - 004F   0.3K   BIOS Data Area
  522.     0050 - 006F   0.5K   System Data
  523.     0070 - 0FB0    61K   DOS
  524.     0FB1 - 21F8    73K   Program Area
  525.     21F9 - 9FFF   504K   [Available]
  526.     Conventional memory ends at 640K
  527.     A000 - AFFF    64K   VGA Graphics
  528.     B000 - B7FF    32K   Unused
  529.     B800 - BFFF    32K   VGA Text
  530.     C000 - C7FF    32K   Video ROM
  531.     C800 - CFFF    32K   Unused
  532.     D000 - DFFF    64K   Page Frame      <----------------------------|
  533.     E000 - EFFF    64K   Unused                                       |
  534.     F000 - FFFF    64K   System ROM                                   |
  535.                                                                       |
  536.                                                                       |
  537.    Look for the Page Frame, we must use the QEMM parameter FRAME=  ---|
  538.    to emulate where the Page Frame is located when using the Microsoft
  539.    drivers. (Notice that the Page Frame above starts at D000)
  540.  
  541.    Hit the ESCAPE key twice to exit MANIFEST and perform the following 4
  542.    commands at the DOS prompt:
  543.    1) C:
  544.    2) CD\
  545.    3) RENAME CONFIG.SYS CONFIG.M  [Save the CONFIG.SYS w/Microsoft drivers]
  546.    4) COPY CONFIG.Q CONFIG.SYS    [Bring back the STEP-5 CONFIG.SYS       ]
  547.  
  548.    Add the following parameters to the end of the QEMM386.SYS line of your
  549.    CONFIG.SYS file:
  550.    X=0000-3FFF NX NR NRH NOVDS FRAME=XXXX
  551.                                      ^^^^
  552.              (XXXX is the starting memory area of the Page Frame when using
  553.    the Microsoft drivers on your machine.  In this EXAMPLE, FRAME=D000)
  554.  
  555.    The QEMM386.SYS line for this EXAMPLE now looks like:
  556.       DEVICE=C:\QEMM\QEMM386.SYS X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH
  557.    AROM=C800-CBFF X=0000-3FFF NX NR NRH NOVDS FRAME=D000
  558.  
  559.    Reboot and try to re-create the problem in Windows.
  560.  
  561.    ??? If the problem still exists , then go to STEP D.
  562.    ??? If the problem goes away, then go to STEP 8.
  563.  
  564.  
  565.                                    (STEP 8)
  566.  
  567.                           CREATING HIGH-RAM FOR QEMM
  568.                           --------------------------
  569.  
  570.      We have properly configured QEMM to work with Windows without High RAM. 
  571. We must add the RAM parameter to end of the QEMM386.SYS line in your 
  572. CONFIG.SYS to create High RAM.  Edit your CONFIG.SYS file and add RAM to the 
  573. end of the QEMM386.SYS line (DEVICE=C:\QEMM\QEMM386.SYS ... RAM).
  574.  
  575.    Reboot your machine and try to re-create the problem in Windows.
  576.  
  577.    ??? If the problem re-occurs, then go to STEP 9.
  578.  
  579.    ??? If the problem does not occur, then proceed below:
  580.  
  581.    In STEP 5, we added the following parameters to the QEMM386.SYS line:
  582.    X=A000-C7FF X=F000-FFFF NO NS NT NCF NOSH.  We will attempt to recover
  583.    some/all of the HIGH-Ram which we eXcluded.  Edit the
  584.    DEVICE=C:\QEMM\QEMM386.SYS... line of the CONFIG.SYS file and delete
  585.    (ONE parameter AT A TIME) the following 3 parameters: X=A000-C7FF,
  586.    X=F000-FFFF, NCF. If removing the X=A000-C7FF parameter does not cause
  587.    the problem to re-occur, then you don't need this parameter.  However if
  588.    the problem does re-occur, then the parameter needs to be kept.  Try
  589.    this for the other 2 parameters!
  590.  
  591.  
  592.    ??? If the problem still doesn't occur and you WERE using the STealth
  593.        feature (ST:M or ST:F) from QEMM version 6.00 or greater, then go to
  594.        STEP 10.
  595.    ??? If the problem still doesn't occur and you WERE NOT using the
  596.        STealth feature (ST:M or ST:F) from QEMM version 6.00 or greater,
  597.        then go to STEP E.
  598.  
  599.  
  600.                                    (STEP 9)
  601.  
  602.                         ELIMINATING HIGH-RAM CONFLICTS
  603.                         ------------------------------
  604.  
  605.      It appears that there is a conflict between one of your adapters and 
  606. QEMM.  QEMM is not recognizing that your adapter is there and QEMM is mapping 
  607. memory on top of the adapter memory.  We must exclude all High RAM areas to 
  608. test this hypothesis and if indeed this is the case, we will systematically 
  609. narrow down what area really needs to be excluded!
  610.  
  611.  
  612.    1) C:\QEMM\MFT.EXE    [type this at the DOS prompt to start MANIFEST]
  613.  
  614.       The following is an EXAMPLE of the first screen in MANIFEST:
  615.  
  616.       Quarterdeck
  617.         MANIFEST     |  Overview   CONFIG   AUTOEXEC   Adapters   CMOS
  618.                      |
  619.                      |               Processor         80386
  620.        First Meg     |               Video Adapter     VGA
  621.                      |               BIOS              Phoenix
  622.        Expanded      |               BIOS Date         01/15/88
  623.                      |               Coprocessor       None
  624.        Extended      |               Keyboard          Enhanced
  625.                      |               Parallel Ports    2
  626.          DOS         |               Serial Ports      2
  627.                      |
  628.         Hints        |
  629.                      |
  630.          Exit        |                             Total       Available
  631.                      |       Conventional Memory    640K         520K
  632.                      |       Expanded Memory       4000K        1520K
  633.                      |       Extended Memory       4096K           0K
  634.                      |
  635.    F1=Help F2=Print  |
  636.  
  637.    Hit the down-arrow key once (this will give you the First Meg/Overview
  638.    screen).  The box in the center of the screen will look as follows:
  639.  
  640.    You will see a screen similar to this:
  641.  
  642.     Memory Area   Size   Description
  643.     0000 - 003F     1K   Interrupt Area
  644.     0040 - 004F   0.3K   BIOS Data Area
  645.     0050 - 006F   0.5K   System Data
  646.     0070 - 0FB0    61K   DOS
  647.     0FB1 - 21F8    73K   Program Area
  648.     21F9 - 9FFF   504K   [Available]
  649.     Conventional memory ends at 640K
  650.     A000 - AFFF    64K   VGA Graphics
  651.     B000 - B7FF    32K   Unused
  652.     B800 - BFFF    32K   VGA Text
  653.     C000 - C7FF    32K   Video ROM
  654.     C800 - CFFF    32K   High RAM      <------------|
  655.     D000 - DFFF    64K   Page Frame                 |
  656.     E000 - EFFF    64K   High RAM      <------------|
  657.     F000 - FFFF    64K   System ROM                 |
  658.                                                     |
  659.                                                     |
  660.                                                     |
  661.    We want to eXclude all High RAM areas!    -------|
  662.  
  663.    We do this by using the EXCLUDE= (X=  for short) parameter to QEMM.  For
  664.    this example, we have two High RAM areas to exclude: from C800-CFFF and
  665.    E000-EFFF.  The corresponding parameters to ADD to end of the
  666.    QEMM386.SYS line in the CONFIG.SYS file would be:
  667.    X=C800-CFFF X=E000-EFFF
  668.  
  669.    Add as many X= parameters as needed to your CONFIG.SYS to exclude as
  670.    many High RAM areas that your machine has.
  671.  
  672.    - - -
  673.    Also consider the following:
  674.  
  675.    Do you have a SCSI hard-disk controller and/or a bus-mastering device?
  676.    If so, perform the following:
  677.  
  678.    Locate the DOS driver SMARTDRV.SYS (could be in your C:\DOS ,
  679.    C:\WINDOWS, C:\ directory) and add the following line to your CONFIG.SYS
  680.    file:
  681.    DEVICE=C:\WINDOWS\SMARTDRV.SYS 256 256
  682.    - - -
  683.  
  684.    reboot your machine and try to re-create the problem in Windows.
  685.  
  686.    ??? If the problem occurs, then go to STEP D.
  687.  
  688.    ??? if the problem goes away, then we know there was a memory conflict
  689.        and we should now try to narrow down which address range in High RAM
  690.        has been causing the conflict.  This will allow you to get back as
  691.        much High-RAM as possible!
  692.  
  693.    Usually when there is a conflict in memory, there is a 16K area that
  694.    needs to be excluded and we should now narrow down the eXclusion of
  695.    High-RAM areas in question.
  696.    EXAMPLE:  We have excluded C800-CFFF which is a 32K area and E000-EFFF
  697.    which is a 64K area.  These numbers are in Hexidecimal (base 16) and may
  698.    confuse you!  (You can access a technical-note on Hexidecimal numbers by
  699.    calling our Q/FAX line @ 310-314-3214 to download technical-note number
  700.    190 to your own fax machine)  These 2 areas comprise of 6 different 16K
  701.    areas (C800-CBFF, CC00-CFFF, E000-E3FF, E400-E7FF, E800-EBFF, EC00-
  702.    EFFF).  To narrow down the area, we would use the X= parameter, trying
  703.    all six combination, one at a time!  More than likely, five out of the
  704.    six combinations will cause the problem to occur, but one out of the six
  705.    will resolve the problem.
  706.  
  707.    ??? When you have determined which area needed to be excluded, and you
  708.        WERE using the STealth feature (ST:M or ST:F) from QEMM version 6.00
  709.        or greater, then go to STEP 10.
  710.  
  711.    ??? When you have determined which area needed to be excluded, and you
  712.        WERE NOT using the STealth feature (ST:M or ST:F) from QEMM version
  713.        6.00 or greater, then go to STEP E.
  714.  
  715.                                    (STEP 10)
  716.  
  717.                        ADDING THE STEALTH PARAMETER BACK
  718.                        ---------------------------------
  719.  
  720.      We have properly configured QEMM to work with Windows 3.0 with High RAM. 
  721. We must now add the STealth (and any STealth-related) parameter to the end of 
  722. the QEMM386.SYS line in your CONFIG.SYS to enable STealth.  Edit your 
  723. CONFIG.SYS file and add ST:M or ST:F (and any STealth-related parameter that 
  724. was ORIGINALLY on your QEMM386.SYS line) to the end of the QEMM386.SYS line:
  725.  
  726.     DEVICE=C:\QEMM\QEMM386.SYS ... RAM ST:x  [other STealth parameters???].
  727.  
  728.    Reboot your machine and try to re-create the problem in Windows.
  729.  
  730.    ??? If the problem still doesn't occur, then go to STEP E.
  731.  
  732.    ??? If the problem does re-occur, then your Windows 3.0 problem is due
  733.        to a conflict with QEMM's STealth feature.  NOW, the next step FOR
  734.        YOU is to leave this technical note (for now) and get the technote
  735.        STEALTH.TEC to resolve the STealth conflict.
  736.  
  737.    The STEALTH.TEC technical-note is available:
  738.  
  739.    1) On Compuserve [GO PCVENB, Library 1].  Download STEALT.ZIP.
  740.    2) On Genie [IBM PC Roundtable Software Library 9].  Download
  741.       STEALTH.TXT.
  742.    3) On the Quarterdeck BBS [310-314-3227].  Download STEALTH.TEC.
  743.    4) On the Quarterdeck Q/FAX [310-314-3214].  Download FAX# 205 ( Q/FAX
  744.       will automatically fax this back to your fax machine instantly!).
  745.    5) Call Quarterdeck Technical Support [310-392-2701] & we will
  746.       gladly fax/mail it to you.
  747.  
  748.    Once you have resolved the STealth-related problem with the current
  749.    CONFIG.SYS, then go to STEP E.
  750.  
  751.    ------------------------------------------------------------------------
  752.  
  753.                                   (STEP - A)
  754.                                   ----------
  755.  
  756.      You have an older version of QEMM-386 which does not support Windows 3.0 
  757. and may contact the Quarterdeck Upgrade Department at (800) 354-3222 or (310) 
  758. 314-3222 for upgrade requests.  Please note that we will upgrade your QEMM-386 
  759. to the most recent version ONLY if you have already registered your product!
  760.  
  761.                                   (STEP - B)
  762.                                   ----------
  763.  
  764.      Standard mode is not supported for Windows 3.0a with QEMM-386 version 
  765. 5.11; you may contact the Quarterdeck Upgrade Department at (800) 354-3222 or 
  766. (310) 314-3222 for upgrade requests.  HOWEVER, we do have a patch called 
  767. WIN300A.PAT which will modify your existing QEMM-386 files to work around the 
  768. problem (WIN300A.PAT can be accessed on our BBS [310-314-3227], on Compuserve 
  769. [GO PCVENB , Library 1], on Genie [IBM PC Roundtable Software Library 9] as 
  770. WIN300A.TXT, or we can fax/mail you this patch when you call technical 
  771. support).  Please note that this patch should only be considered a temporary 
  772. work-around until your upgrade arrives!
  773.  
  774.                                   (STEP - C)
  775.                                   ----------
  776.  
  777.      You have QEMM version 6.00 and there is a known conflict with QEMM and 
  778. Windows 3.0 when either 1) you are using an application in Windows which uses 
  779. EMS (expanded memory) or 2) you are loading a device driver or TSR which 
  780. accesses EMS before entering Windows.
  781.  
  782.      Under these circumstances, you will need to upgrade to a QEMM version of 
  783. 6.01 or greater and may contact the Quarterdeck Upgrade Department at (800) 
  784. 354-3222 or (310) 314-3222 for upgrade requests.
  785.  
  786.      If neither Windows nor any loaded drivers are accessing EMS, then 
  787. upgrading WILL NOT RESOLVE your Windows problem.  If this is the case, please 
  788. go back to STEP 4 and continue with this technote!
  789.  
  790.      PLEASE NOTE: If you are not sure if Windows or any loaded driver is 
  791. accessing EMS, do not automatically assume that upgrading will resolve your 
  792. problem.  Follow the rest of this technote anyways (because if EMS is not 
  793. causing the problem, you will waste time upgrading and still have the Windows 
  794. problem and will still have to continue with this technote!)
  795.  
  796.  
  797.                                   (STEP - D)
  798.                                   ----------
  799.  
  800.      The problem you are having requires further troubleshooting techniques 
  801. and investigation.  Call our Technical Support line at (310) 392-9701 for 
  802. further assistance.  When you call, please have available the following files 
  803. available:
  804.  
  805.    Your original CONFIG.SYS and AUTOEXEC.BAT files
  806.    CONFIG.SYS   (QEMM386.SYS and FILES=)
  807.    AUTOEXEC.BAT (PATH and PROMPT)
  808.    CONFIG.Q     (only if you have gone thru STEP 6)
  809.    CONFIG.M     (only if you have gone thru STEP 7)
  810.  
  811.  
  812.                                   (STEP - E)
  813.                                   ----------
  814.  
  815.      CONGRATULATIONS, you have successfully configured QEMM-386 and Windows 
  816. 3.0 to work together!  Enter the following 6 commands at the DOS prompt:
  817.  
  818.    1) C:
  819.    2) CD\
  820.    3) RENAME AUTOEXEC.BAT AUTOEXEC.Q
  821.    4) COPY CONFIG.SYS CONFIG.Q
  822.    5) COPY CONFIG.OLD CONFIG.SYS         [Bring back your original file]
  823.    6) COPY AUTOEXEC.OLD AUTOEXEC.BAT     [Bring back your original file]
  824.  
  825.    Edit the CONFIG.SYS file and replace the original QEMM386.SYS line with
  826.    the one you have created by using this technical note (now in CONFIG.Q)
  827.    and make sure FILES= to at least 40!
  828.  
  829.  
  830.    Reboot the machine and try to re-create the problem in Windows.
  831.  
  832.    ??? If the problem is still no longer occurring, the problem is solved.
  833.        HAVE A GREAT DAY!!!
  834.  
  835.    ??? If the problem now occurs, then we know that there is a command line
  836.        either in your CONFIG.SYS or AUTOEXEC.BAT that has been causing the
  837.        problem with Windows.  To determine which file the command line is
  838.        in, we will bring back the AUTOEXEC.BAT (Path and Prompt) that we
  839.        previously created in STEP 5:
  840.  
  841.    Enter the following 4 commands at the DOS prompt:
  842.  
  843.    1) C:
  844.    2) CD\
  845.    3) COPY AUTOEXEC.BAT AUTOEXEC.OLD
  846.    4) COPY AUTOEXEC.Q AUTOEXEC.BAT
  847.  
  848.    Reboot your machine and try to re-create the problem in Windows.
  849.  
  850.    ??? If the problem still exists, than we know that the command line
  851.        which is giving us problems is located in the CONFIG.SYS file and if
  852.        the problem goes away, the command line is in the original
  853.        AUTOEXEC.BAT file.
  854.  
  855.    Now you must systematically determine which command line is giving you
  856.    trouble!  Try deleting one line at a time (if you have a long CONFIG.SYS
  857.    or AUTOEXEC.BAT file try deleting 2-3 lines at a time) until you find
  858.    out which line is causing the problem.
  859.  
  860.    When you finally determine which line is causing the problem:
  861.  
  862.    1) If the device driver or TSR is loaded into High-RAM, use the
  863.       procedure in STEP 4 to load it low and see if this corrects the
  864.       problem.
  865.    2) Read the manual or call the technical support of the product which
  866.       you are loading to determine where the problem might lie.
  867.    3) If a TSR or device driver has a parameter that tells it to load/use
  868.       XMS or EMS, then have it load/use conventional memory instead.
  869.    4) Call Quarterdeck Technical Support to determine DOS command problems.
  870.    5) JUST GET RID OF THAT LINE!
  871.  
  872.  
  873.   ************************************************************************
  874.   *This technical note may be copied and distributed freely as long as it*
  875.   *is distributed in its entirety and it is not distributed for profit.  *
  876.   *          Copyright (C) 1991 by Quarterdeck Office Systems            *
  877.   ************************ E N D   O F   F I L E *************************
  878.